import http from "@/utils/http";

//成果数量统计
export const businessCountAchievementNum = (params) => {
  return http.get("/homePage/businessCount_achievementNum", params);
};
//项目金额统计
export const businessCountFee = (params) => {
  return http.get("/homePage/businessCount_fee", params);
};

//项目数量统计
export const getCountProjectNum = (params) => {
  return http.get("/homePage/businessCount_projectNum", params);
};
//已办事项
export const finishedList = (params) => {
  return http.post("/homePage/finishedList", params);
};

//办理统计
export const handleCount = (params) => {
  return http.get("/homePage/handleCount", params);
};

//待办事项
export const needTodoList = (params) => {
  return http.post("/homePage/needTodoList", params);
};

//办理进度
export const processSchedule = (params) => {
  return http.post("/homePage/processSchedule", params);
};

//查询文档共享列表
export const getFileShareList = (params) => {
  return http.post("/homePage/getFileShareList", params);
};
//新增文档共享
export const addFileShare = (params) => {
  return http.post("/homePage/addFileShare", params);
};
//删除文档共享
export const delFileShare = (id) => {
  return http.del(`/homePage/delFileShare/${id}`);
};

//修改文档共享
export const editFileShare = (params) => {
  return http.post("/homePage/delFileShare", params);
};

//获取通知公告
export const getNoticeList = (params) => {
  return http.post("/homePage/noticeList", params);
};

//获取科研平台
export const getKyptList = (params) => {
  return http.post("/homePage/getKypt", params);
};

//获取大模块下拉框
export const getLargeModules = (params) => {
  return http.get("/homePage/getLargeModules", params);
};




